# Progressbar code from http://pypi.python.org/pypi/progressbar/2.2
